package com.linuxgt.web.test;

import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.AbstractTransactionalJUnit4SpringContextTests;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.transaction.annotation.Transactional;

/**
 * 所有测试类的父类，主要做一些配置文件导入
 * Created by liuteng on 2016/12/2.
 */
@ContextConfiguration(locations = {"classpath:/spring/applicationContext-test.xml","classpath:/spring/springmvc-context-test.xml"})
@RunWith(SpringJUnit4ClassRunner.class)
@Transactional
public abstract class AbstractTestCase extends
        AbstractTransactionalJUnit4SpringContextTests {

}
